package com.rsxy.service.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("rs_needs")
public class RsNeeds {

  @TableId(type = IdType.AUTO)
  private Integer id;
  private String userId;
  //需求编号
  private String needId;
  //用户昵称
  private String nickName;
  //用户头像
  private String avatarUrl;
  //需求描述
  private String needDetail;
  //需求状态
  private Integer needStatus;
  @TableField(fill= FieldFill.INSERT)
  private LocalDateTime gmtCreate;
  @TableField(fill=FieldFill.INSERT_UPDATE)
  private LocalDateTime gmtModified;
  @TableField(exist=false)
  private List<RsComments> rsComments;
}
